home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / turbovis / tvtool17.zip / TVBUGS.CPP < prev    next >
Text File  |  1993-09-30  |  38KB  |  1,201 lines

  1. -------------------------- TVBUGS.CPP --------------------------
  2.  
  3.              Borland Turbo Vision (C++) Bug/Enhancement List
  4.  
  5.  
  6. Last Updated: 10 september 93
  7.  
  8. Maintained by: Marc Stern
  9.                Internet:    stern@mble.philips.be
  10.                compuserve:  >INTERNET:stern@mble.philips.be
  11.  
  12.  
  13.  
  14. *** This list is C++ TurboVision (TV) specific.
  15. For a Pascal specific buglist, see the file  \turbo-vision\pascal\tvbugs.pas
  16. maintained by Brad Williams (bwilliams@marvin.ag.uidaho.edu) on the  TurbVis
  17. ftp site vtucs.cc.vt.edu. All bugs and fixes presented have  been  discussed
  18. on the listserv TurbVis and Compuserve. If you  want  to  join  the  mailing
  19. list, send a message to listserv@vtvm1.cc.vt.edu containing the line  SIGNON
  20. TURBOVIS.
  21.  
  22. These fixes are meant to be applied to Turbo Vision 1.03, the  version  that
  23. was shipped with Borland C++ 3.1 and Application Frameworks. You  must  have
  24. the source code to Turbo Vision in order to implement these fixes.
  25.  
  26.  
  27. This list contains bug fixes and  enhancements  to  the  TV  sources.  These
  28. enhancements are obviously subjective and rely most of the time on  personal
  29. feelings of the posters about the look and feel of their applications.
  30.  
  31.  
  32. *** This is an unofficial list and is not a substitute for
  33. *** Borland Technical or Customer Support which can be reached at
  34. *** 800-331-0877 for registered Borland product owners.  Borland
  35. *** customer on-line service can be reached at
  36. ***
  37. ***           customer-support@borland.com (internet)
  38. ***
  39. *** Online technical support is not available.  Borland's internet
  40. *** address for reporting bugs is
  41. ***
  42. ***               bugs@borland.com (internet)
  43.  
  44. All submissions determined to be "true" bugs will be forwarded  to  Borland.
  45. The maintainer of this list, the authors of bug fixes, the TurbVis  listserv
  46. and the ftp site are not responsible for the reliability of any  information
  47. presented in this document or consequences that may result from their use.
  48.  
  49. *** Always make a backup of the source code file under a new name
  50. *** prior making any changes to the original file.
  51.  
  52. Send all comments about bugs you have discovered  and  any  patches  to  the
  53. maintainer of this list or to the TurbVis listserv  for  discussion.  Please
  54. include a description of the problem you are  having,  a  small  section  of
  55. source code which will duplicate the  problem  when  compiled/run,  and  all
  56. suggestions for improvement of current patches are appreciated.
  57.  
  58.  
  59. How to Use This List
  60. --------------------
  61. At the beginning of this list is  an  index  of  new  problems/questions  or
  62. changes to  old  problems/enhancements/questions  in  reverse  chronological
  63. order. This facilitates quick review for changes  from  previous  additions.
  64. Following is the list of problems/enhancements/questions about bugs  in  TV.
  65. They are discussed and source code patches referenced where  available.  All
  66. source code patches in this file are placed at the end in  alphabetic  order
  67. according to the reference name. Reference name is usually a  function  name
  68. or a object::function name, but it can be a general topic name such as Help,
  69. System Error Messages,...
  70.  
  71. Example: Help
  72.          MessageBox
  73.          System Error Messages
  74.          TInputLine::handleEvent
  75.          TParamText::setData
  76.          TWindow::handleEvent
  77.  
  78. If extensive files are required, the  individual  file  will  be  referenced
  79. under the appropriate problem/question.
  80.  
  81. There are two possible methods for searching this document, by  topic  under
  82. the  PROBLEMS  /  ENHANCEMENTS  /  QUESTIONS  section  or  by  function  (or
  83. object::method) name under the PATCHES section. All PROBLEMS /  ENHANCEMENTS
  84. / QUESTIONS and PATCHES  are  cross-referenced.  If  you  do  not  find  the
  85. topic/patch in one list, check  the  other.  If  you  still  cannot  find  a
  86. solution look at the FAQ (TVCPP.FAQ) posted  at  this  site.  If  you  still
  87. cannot determine a solution to your problem, post a message to the  listserv
  88. TurbVis.
  89.  
  90. ---------------------------------------------------------------
  91.        CHRONOLOGICAL INDEX OF CHANGES TO THIS DOCUMENT
  92. ---------------------------------------------------------------   
  93. 24 september 93      
  94.  
  95.    MessageBox - 5
  96.    TParamText - 3
  97.   
  98.  
  99. 7 september 93      
  100.  
  101.    Help - 5
  102.    Streams - 2
  103.    TButton - 1
  104.  
  105.  
  106. 27 july 1993
  107.  
  108.    Help - 3, 4
  109.    Streams - 1        
  110.    System Error Messages - 1 (Correction)
  111.    TCollection - 1
  112.    TDialog - 1 (Correction)
  113.    TFileDialog - 2
  114.  
  115.  
  116. 15 july 1993
  117.  
  118.    TGroup - 2
  119.    TParamText - 2
  120.    performance - 1 
  121.    overlay - 1
  122.  
  123.  
  124. 18 june 1993
  125.  
  126.    TDialog - 1
  127.    TParamText - 2
  128.  
  129.  
  130. 10 june 1993
  131.  
  132.    MessageBox - 4
  133.    TChDirDialog - 1
  134.    TMenuView - 2
  135.    TStaticText - 1
  136.  
  137.  
  138. 28 may 1993
  139.  
  140.    Help - 2 (Correction)
  141.    TGroup - 1
  142.    TMenuView - 1
  143.    TView - 1 (Correction)
  144.    min/max - 1
  145.  
  146.  
  147. 25 may 1993
  148.  
  149.    Selection - 2
  150.    TDirCollection - 1
  151.    TFileDialog - 1
  152.    TListViewer - 1, 2
  153.    TResourceFile - 1
  154.    TView - 1
  155.    TWindow - 2
  156.  
  157.  
  158. 5 may 93 - First edition of this list
  159.  
  160.    Help - 1, 2
  161.    MessageBox - 1, 2, 3
  162.    TEditor - 1
  163.    TGroup - 1
  164.    TInputLine - 1
  165.    TParamText - 1
  166.    TWindow - 1
  167.  
  168. ---------------------------------------------------------------
  169.                    PROBLEMS / ENHANCEMENTS / QUESTIONS
  170. ---------------------------------------------------------------
  171.  
  172. Help
  173. ----
  174.  
  175. 1. Problem - Compilation error when using streams with help.
  176.    Patch: see Help-1
  177.  
  178. 2. Problem - Highlighted items no more displayed in highlight when scrolling
  179.              in a help window longer than one screen. 
  180.    Patch: see Help-2
  181.  
  182. 3. Problem - Shrinking the help window horizontally causes text at  the  end
  183.              of the help message to become unreachable  (assuming  the  help
  184.              text has more lines than  the  number  of  window  lines).  The
  185.              problem is virtual  function  changeBounds  never  gets  called
  186.              because  its  declaration  doesn't   match   the   base   class
  187.              declaration. 
  188.    Patch: see Help-3
  189.  
  190. 4. Problem - Word wrap  is  erratic  for  characters  above  0x7f  (such  as
  191.              non-English letters). This is due to sign  extension  when  the
  192.              compiler converts from a signed char to an  int.  For  example,
  193.              0x81 gets converted to 0x8001, causing isspace  to  index  into
  194.              garbage. 
  195.    Patch: see Help-4
  196.  
  197. 5. Problem - The THelpWindow class should function both as  a  modal  and  a
  198.              modeless window. However, it crashes if inserted as a  modeless
  199.              window. 
  200.    Patch: see Help-5
  201.  
  202.  
  203. MessageBox
  204. ----------
  205.  
  206. 1. Problem - Strange effects, memory garbage
  207.    Patch: see MessageBox-1
  208.  
  209. 2. Enhancement - Automatically adapt box size to message length
  210.    Patch: see MessageBox-2
  211.  
  212. 3. Enhancement - Automatically center 'OK/Cancel' buttons
  213.    Patch: see MessageBox-3
  214.  
  215. 4. See  TStaticText - 1
  216.  
  217. 5. Problem - If a messageBox is opened while a submenu is open  (because  it
  218.              is opened by an external event or in the idle() function),  the
  219.              messageBox will be under the submenu. 
  220.    Patch: see MessageBox-5
  221.  
  222.  
  223. min/max
  224. -------
  225.  
  226. 1. Problem - error when using min/max with different type variables than int
  227.              (like ushort). 
  228.    Patch: see min/max-1
  229.  
  230.  
  231. Overlay
  232. -------
  233.  
  234. 1. Problem - Turbo Vision cannot be overlayed.
  235.    Patch: see compilation
  236.  
  237.  
  238. Performance
  239. -----------
  240.  
  241. 1. Problem - Turbo Vision is  very  slow,  much  slower  that  the  previous
  242.              version because snow checking was inadvertently  turned  on  by
  243.              default and because the new operator  that  is  in  TV.LIB  has
  244.              debugging code compiled in with it. 
  245.    Patch: see performance-1, compilation
  246.  
  247.  
  248. Selection
  249. ---------
  250.  
  251. 1. Problem (feature?) - When a control is unselectable, it can be selected
  252.                         by selection its associated label.
  253.    Patch: see Selection-1      
  254.  
  255.  
  256. Streams
  257. -------
  258.  
  259. 1. Problem - If you use either (or both) TCheckBoxes or  TRadioButtons  with
  260.              streams  your  program  will